package com.jk.demo.controller;

import com.jk.demo.service.EsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class EsController {
    @Autowired
    private EsService esService;

    @RequestMapping("tong")
    public void tong(){
        esService.tong();
    }


}
